package com.ly.heart.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.KingInvoiceReceivableOtherEntity;
import com.ly.heart.domain.dto.KingInvoiceReceivableOtherDto;
import com.ly.heart.domain.vo.KingInvoiceReceivableOtherVo;

/**
 * 金蝶-财务-其他应收单Service接口
 *
 * @author wutao
 * @date 2024-07-19
 */
public interface IKingInvoiceReceivableOtherService extends IService<KingInvoiceReceivableOtherEntity> {
    /**
     * 查询金蝶-财务-其他应收单
     *
     * @param id 金蝶-财务-其他应收单ID
     * @return 金蝶-财务-其他应收单
     */
    KingInvoiceReceivableOtherVo selectKingInvoiceReceivableOtherEntityById (String id );

    /**
     * 查询金蝶-财务-其他应收单列表
     *
     * @param kingInvoiceReceivableOtherEntity 金蝶-财务-其他应收单
     * @return 金蝶-财务-其他应收单集合
     */
    List<KingInvoiceReceivableOtherEntity> selectKingInvoiceReceivableOtherEntityList ( KingInvoiceReceivableOtherEntity kingInvoiceReceivableOtherEntity );

    Integer queryCount ( KingInvoiceReceivableOtherEntity kingInvoiceReceivableOtherEntity );


    KingInvoiceReceivableOtherEntity querySingleById ( String id );

    /**
     * 新增金蝶-财务-其他应收单
     *
     * @param kingInvoiceReceivableOtherDto 金蝶-财务-其他应收单
     * @return 结果
     */
    AjaxResult draft (KingInvoiceReceivableOtherDto kingInvoiceReceivableOtherDto );

    AjaxResult submit (KingInvoiceReceivableOtherEntity kingInvoiceReceivableOtherEntity );

    /**
     * 修改金蝶-财务-其他应收单
     *
     * @return 结果
     */
    AjaxResult updateKingInvoiceReceivableOtherEntity ( KingInvoiceReceivableOtherDto kingInvoiceReceivableOtherDto );

    /**
     * 批量删除金蝶-财务-其他应收单
     *
     * @param ids 需要删除的金蝶-财务-其他应收单ID
     * @return 结果
     */
    AjaxResult deleteKingInvoiceReceivableOtherEntityByIds ( String[] ids );


}
